home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
vsms111.zip
/
MC.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-12-12
|
420b
|
23 lines
@ECHO OFF
if %dostype%.==. goto n0mxd0s
IF %USER%.==remote. goto sendcon
goto k00l
:k00l
ECHO.>COM1
ECHO Message from %USER% at>COM1
SHOWTIME>COM1
ECHO.>COM1
ECHO - %1 %2 %3 %4 %5 %6 %7 %8 %9>COM1
goto end
:n0mxd0s
ECHO You are not running under MX-Multiuser DOS.
goto end
:sendcon
ECHO.>CON
ECHO Message from %USER% at>CON
SHOWTIME>CON
ECHO.>CON
ECHO - %1 %2 %3 %4 %5 %6 %7 %8 %9>CON
:end
echo.